<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人学习报告 - AI单词</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: #f9fafb;
            height: 100vh;
            margin: 0;
            padding: 0;
        }
        .app-container {
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        .nav-bar {
            height: 50px;
            background-color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }
        .tab-bar {
            height: 70px;
            background-color: white;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-around;
            align-items: center;
            position: fixed;
            bottom: 0;
            width: 100%;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        }
        .tab-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: #6b7280;
            font-size: 10px;
        }
        .tab-item.active {
            color: #6366f1;
        }
        .tab-icon {
            font-size: 22px;
            margin-bottom: 4px;
        }
        .content {
            flex: 1;
            padding: 20px;
            overflow-y: auto;
            padding-bottom: 90px;
        }
        .report-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        .report-title {
            font-size: 20px;
            font-weight: bold;
            color: #1f2937;
        }
        .report-date {
            color: #6b7280;
            font-size: 14px;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }
        .stat-card {
            background-color: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }
        .stat-title {
            color: #6b7280;
            font-size: 14px;
            margin-bottom: 10px;
        }
        .stat-value {
            font-size: 24px;
            font-weight: bold;
            color: #1f2937;
            margin-bottom: 5px;
        }
        .stat-change {
            display: flex;
            align-items: center;
            font-size: 12px;
        }
        .stat-increase {
            color: #10b981;
        }
        .stat-decrease {
            color: #ef4444;
        }
        .change-icon {
            margin-right: 3px;
        }
        .chart-card {
            background-color: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            margin-bottom: 25px;
        }
        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        .chart-title {
            font-weight: 600;
            color: #374151;
        }
        .chart-legend {
            display: flex;
            align-items: center;
            font-size: 12px;
            color: #6b7280;
        }
        .legend-item {
            display: flex;
            align-items: center;
            margin-left: 10px;
        }
        .legend-color {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin-right: 5px;
        }
        .legend-color.blue {
            background-color: #6366f1;
        }
        .legend-color.purple {
            background-color: #8b5cf6;
        }
        .chart-container {
            height: 200px;
            position: relative;
        }
        .chart-bars {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            height: 150px;
        }
        .chart-bar {
            width: 8%;
            background: linear-gradient(180deg, #6366f1, #8b5cf6);
            border-radius: 4px 4px 0 0;
        }
        .chart-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
        }
        .chart-label {
            width: 8%;
            text-align: center;
            font-size: 10px;
            color: #6b7280;
        }
        .memory-curve {
            height: 150px;
            position: relative;
            margin-top: 20px;
        }
        .curve-line {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 100'%3E%3Cpath d='M0,100 C50,90 100,30 150,20 C200,10 250,15 300,5' fill='none' stroke='%236366f1' stroke-width='2'/%3E%3C/svg%3E") no-repeat;
            background-size: 100% 100%;
        }
        .curve-points {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        .curve-point {
            position: absolute;
            width: 8px;
            height: 8px;
            background-color: #6366f1;
            border-radius: 50%;
            transform: translate(-50%, -50%);
        }
        .curve-point:nth-child(1) {
            left: 0%;
            top: 100%;
        }
        .curve-point:nth-child(2) {
            left: 20%;
            top: 90%;
        }
        .curve-point:nth-child(3) {
            left: 40%;
            top: 40%;
        }
        .curve-point:nth-child(4) {
            left: 60%;
            top: 20%;
        }
        .curve-point:nth-child(5) {
            left: 80%;
            top: 15%;
        }
        .curve-point:nth-child(6) {
            left: 100%;
            top: 5%;
        }
        .curve-labels {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
        }
        .curve-label {
            width: 20%;
            text-align: center;
            font-size: 10px;
            color: #6b7280;
        }
        .recommendation-card {
            background-color: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            margin-bottom: 25px;
        }
        .recommendation-header {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        .recommendation-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 18px;
            margin-right: 15px;
        }
        .recommendation-title {
            font-weight: 600;
            color: #374151;
        }
        .recommendation-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #e5e7eb;
        }
        .recommendation-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        .recommendation-bullet {
            color: #6366f1;
            margin-right: 10px;
            margin-top: 2px;
        }
        .recommendation-text {
            color: #4b5563;
            line-height: 1.5;
            flex: 1;
        }
        .review-card {
            background: linear-gradient(135deg, #6366f1, #8b5cf6);
            border-radius: 16px;
            padding: 20px;
            color: white;
            margin-bottom: 25px;
        }
        .review-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        .review-title {
            font-weight: 600;
            font-size: 18px;
        }
        .review-count {
            background-color: rgba(255, 255, 255, 0.2);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 14px;
        }
        .review-words {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }
        .review-word {
            background-color: rgba(255, 255, 255, 0.2);
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 14px;
        }
        .review-btn {
            background-color: white;
            color: #6366f1;
            border-radius: 8px;
            padding: 10px;
            text-align: center;
            font-weight: 600;
            margin-top: 10px;
        }
    </style>
</head>
<body>
    <div class="app-container">
        <div class="nav-bar">
            <span class="font-semibold">个人学习报告</span>
            <i class="fas fa-ellipsis-h text-gray-600"></i>
        </div>
        
        <div class="content">
            <div class="report-header">
                <div class="report-title">学习数据分析</div>
                <div class="report-date">2023年6月</div>
            </div>
            
            <div class="stats-grid">
                <div class="stat-card">
                    <div class="stat-title">已学单词</div>
                    <div class="stat-value">248</div>
                    <div class="stat-change stat-increase">
                        <i class="fas fa-arrow-up change-icon"></i>
                        32 本周
                    </div>
                </div>
                
                <div class="stat-card">
                    <div class="stat-title">掌握单词</div>
                    <div class="stat-value">186</div>
                    <div class="stat-change stat-increase">
                        <i class="fas fa-arrow-up change-icon"></i>
                        24 本周
                    </div>
                </div>
                
                <div class="stat-card">
                    <div class="stat-title">学习天数</div>
                    <div class="stat-value">14</div>
                    <div class="stat-change stat-increase">
                        <i class="fas fa-fire change-icon"></i>
                        连续学习
                    </div>
                </div>
                
                <div class="stat-card">
                    <div class="stat-title">学习时长</div>
                    <div class="stat-value">26h</div>
                    <div class="stat-change stat-increase">
                        <i class="fas fa-arrow-up change-icon"></i>
                        4h 本周
                    </div>
                </div>
            </div>
            
            <div class="chart-card">
                <div class="chart-header">
                    <div class="chart-title">每日学习情况</div>
                    <div class="chart-legend">
                        <div class="legend-item">
                            <div class="legend-color blue"></div>
                            <span>新学</span>
                        </div>
                        <div class="legend-item">
                            <div class="legend-color purple"></div>
                            <span>复习</span>
                        </div>
                    </div>
                </div>
                
                <div class="chart-container">
                    <div class="chart-bars">
                        <div class="chart-bar" style="height: 30%;"></div>
                        <div class="chart-bar" style="height: 45%;"></div>
                        <div class="chart-bar" style="height: 60%;"></div>
                        <div class="chart-bar" style="height: 40%;"></div>
                        <div class="chart-bar" style="height: 75%;"></div>
                        <div class="chart-bar" style="height: 90%;"></div>
                        <div class="chart-bar" style="height: 50%;"></div>
                    </div>
                    <div class="chart-labels">
                        <div class="chart-label">6/1</div>
                        <div class="chart-label">6/2</div>
                        <div class="chart-label">6/3</div>
                        <div class="chart-label">6/4</div>
                        <div class="chart-label">6/5</div>
                        <div class="chart-label">6/6</div>
                        <div class="chart-label">6/7</div>
                    </div>
                </div>
            </div>
            
            <div class="chart-card">
                <div class="chart-header">
                    <div class="chart-title">记忆曲线预测</div>
                </div>
                
                <div class="memory-curve">
                    <div class="curve-line"></div>
                    <div class="curve-points">
                        <div class="curve-point"></div>
                        <div class="curve-point"></div>
                        <div class="curve-point"></div>
                        <div class="curve-point"></div>
                        <div class="curve-point"></div>
                        <div class="curve-point"></div>
                    </div>
                </div>
                <div class="curve-labels">
                    <div class="curve-label">今天</div>
                    <div class="curve-label">1天后</div>
                    <div class="curve-label">3天后</div>
                    <div class="curve-label">7天后</div>
                    <div class="curve-label">14天后</div>
                </div>
            </div>
            
            <div class="review-card">
                <div class="review-header">
                    <div class="review-title">今日待复习</div>
                    <div class="review-count">12个单词</div>
                </div>
                
                <div class="review-words">
                    <div class="review-word">persevere</div>
                    <div class="review-word">scrutinize</div>
                    <div class="review-word">eloquent</div>
                    <div class="review-word">initiate</div>
                    <div class="review-word">hyperjump</div>
                    <div class="review-word">more...</div>
                </div>
                
                <div class="review-btn">
                    开始复习
                </div>
            </div>
            
            <div class="recommendation-card">
                <div class="recommendation-header">
                    <div class="recommendation-icon">
                        <i class="fas fa-lightbulb"></i>
                    </div>
                    <div class="recommendation-title">AI个性化学习建议</div>
                </div>
                
                <div class="recommendation-item">
                    <div class="recommendation-bullet">
                        <i class="fas fa-circle"></i>
                    </div>
                    <div class="recommendation-text">
                        根据你的学习数据，建议增加科技类单词的复习频率，这类单词的记忆保持率较低。
                    </div>
                </div>
                
                <div class="recommendation-item">
                    <div class="recommendation-bullet">
                        <i class="fas fa-circle"></i>
                    </div>
                    <div class="recommendation-text">
                        你在故事模式中的学习效果最好，建议每天花15分钟通过故事学习新单词。
                    </div>
                </div>
                
                <div class="recommendation-item">
                    <div class="recommendation-bullet">
                        <i class="fas fa-circle"></i>
                    </div>
                    <div class="recommendation-text">
                        语音练习次数较少，建议增加与AI导师的语音互动，提高发音准确度。
                    </div>
                </div>
            </div>
        </div>
        
        <div class="tab-bar">
            <div class="tab-item" onclick="window.location.href='nft-buddy.html'">
                <i class="fas fa-dragon tab-icon"></i>
                <span>伙伴</span>
            </div>
            
            <div class="tab-item" onclick="window.location.href='word-learning.html'">
                <i class="fas fa-book tab-icon"></i>
                <span>学习</span>
            </div>
            
            <div class="tab-item" onclick="window.location.href='ai-tutor.html'">
                <i class="fas fa-robot tab-icon"></i>
                <span>AI导师</span>
            </div>
            
            <div class="tab-item" onclick="window.location.href='story-mode.html'">
                <i class="fas fa-book-open tab-icon"></i>
                <span>故事</span>
            </div>
            
            <div class="tab-item active">
                <i class="fas fa-chart-line tab-icon"></i>
                <span>报告</span>
            </div>
        </div>
    </div>
</body>
</html>